
import absdragsvc from "./absdragsvc";
import LXCOM from '../../common/common.js'

class BusDragDropSvc extends absdragsvc.AbsDragSvc{
    assignProp(worldPos,mapscale){
        var position = this.graph.getPos();
        let wid = 100;
        var p1 = new LXCOM.LGXPoint();
        p1.x = worldPos.x - wid;
        p1.y = worldPos.y;

        var p2 = new LXCOM.LGXPoint();
        p2.x = worldPos.x + wid;
        p2.y = worldPos.y;

        position.posList.push(p1);
        position.posList.push(p2);
    }
}
export default{BusDragDropSvc}